package cn.snailteam.recruitment.entity;

/**
 * HrNews entity. @author MyEclipse Persistence Tools
 */

public class HrNews implements java.io.Serializable {

	// Fields

	private Integer id;
	private HrNewsCategories hrNewsCategories;
	private String author;
	private String caption;
	private String subCaption;
	private String content;
	private String publisTime;

	// Constructors

	/** default constructor */
	public HrNews() {
	}

	/** minimal constructor */
	public HrNews(String caption, String content, String publisTime) {
		this.caption = caption;
		this.content = content;
		this.publisTime = publisTime;
	}

	/** full constructor */
	public HrNews(HrNewsCategories hrNewsCategories, String author,
			String caption, String subCaption, String content, String publisTime) {
		this.hrNewsCategories = hrNewsCategories;
		this.author = author;
		this.caption = caption;
		this.subCaption = subCaption;
		this.content = content;
		this.publisTime = publisTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public HrNewsCategories getHrNewsCategories() {
		return this.hrNewsCategories;
	}

	public void setHrNewsCategories(HrNewsCategories hrNewsCategories) {
		this.hrNewsCategories = hrNewsCategories;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getCaption() {
		return this.caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getSubCaption() {
		return this.subCaption;
	}

	public void setSubCaption(String subCaption) {
		this.subCaption = subCaption;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getPublisTime() {
		return this.publisTime;
	}

	public void setPublisTime(String publisTime) {
		this.publisTime = publisTime;
	}

}